package com.techfort.affs;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class StoredAccountHelper extends SQLiteOpenHelper {

	private static final String DATABASE_NAME = "affs";
	private static final int DATABASE_VERSION = 1;
	private static final String CREATE = "create table affs_account (`email` TEXT)";
	
	public StoredAccountHelper(Context context){
		super(context, DATABASE_NAME, null, DATABASE_VERSION);
		
	}
	@Override
	public void onCreate(SQLiteDatabase database) {
		database.execSQL(CREATE);
		database.execSQL("insert into affs_account values ('default')");
	}

	@Override
	public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}

}
